package org.xu.service;

import com.core.base.Reply;
import com.github.pagehelper.PageInfo;
import org.xu.dto.WorkFlowLogDTO;
import org.xu.entity.WorkFlowLogEntity;
import org.xu.request.WorkLogRequest;
import org.xu.request.WorkPageRequest;

import java.time.LocalDate;
import java.util.List;

public interface WorkFlowLogService {
    List<WorkFlowLogEntity> list();


    Reply<List<WorkFlowLogEntity>> lockGet();

    List<WorkFlowLogDTO> query(WorkLogRequest request);

    PageInfo<WorkFlowLogDTO> pageQuery(WorkPageRequest request);

    int insert(WorkFlowLogEntity record);

    List<WorkFlowLogEntity> listByDataId(String dataId);

    void deleteHistoryData(LocalDate oldLocalDate);
}
